package socialnetworks;

import java.io.IOException;
import java.util.List;

import com.google.gdata.util.ServiceException;

public class TestGrafoYouTubePicarelli
{
	public static void main(String[] args) throws ServiceException, IOException
	{
		YouTubeDataExtractor e = new YouTubeDataExtractor();
		List<String> seedIds = e.query("calabria");

		for (int i = 0; i < seedIds.size(); i++)
		{
			String id = seedIds.get(i);
			System.out.println(i + "  id = " + id + " Titolo = " + e.titolo(id));

		}

	}
}
